package com.supreme.commonentity.mysql.primary;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName sys_user_role
 */
@Data
@TableName(value = "sys_user_role")
public class SysUserRole implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long userRoleId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

    private Boolean enabled;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}